using MediatR;
using Medical.Api.Read.Dto.BasicManagement.DeviceClassificationDictionaryDto;
using Medical.Domain.BasicManagement;
using Medical.ErrorCode;

namespace Medical.Api.Read.Application.Command.BasicManagement.DeviceClassificationDictionaryCommand
{
    /// <summary>
    /// 查询器械列表命令
    /// </summary>
    public class QueryApparatusCommand : IRequest<ApiResult<ApiPageIng<Apparatus>>>
    {
        /// <summary>
        /// 查询参数
        /// </summary>
        public QueryApparatusDto QueryDto { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="queryDto">查询参数</param>
        public QueryApparatusCommand(QueryApparatusDto queryDto)
        {
            QueryDto = queryDto;
        }
    }
}